namespace SeataNet.Core.Common
{
    /// <summary>
    /// 事务状态枚举
    /// </summary>
    public enum TransactionStatus
    {
        /// <summary>
        /// 开始
        /// </summary>
        Begin,

        /// <summary>
        /// 提交中
        /// </summary>
        Committing,

        /// <summary>
        /// 已提交
        /// </summary>
        Committed,

        /// <summary>
        /// 已回滚
        /// </summary>
        RolledBack,

     

        /// <summary>
        /// 超时
        /// </summary>
        Timeout,

        /// <summary>
        /// 失败
        /// </summary>
        Failed,

        /// <summary>
        /// 已完成
        /// </summary>
        Finished
    }
}